//
//  CMessageDraftMgr.h
//  wanzhaoIM
//
//  Created by wanzhao on 15/9/11.
//  Copyright (c) 2015年 liuyuantao. All rights reserved.
//

#import <Foundation/Foundation.h>
@class CMessageDraft;

@interface CMessageDraftMgr : NSObject

- (BOOL)insertMessageDraft:(CMessageDraft *)messageDraft;
- (CMessageDraft *)loadMessageDraftWithFriend:(NSString *)friendId mineId:(NSString *)mineId;
- (BOOL)delMessageDraftWithFriend:(NSString *)friendId mineId:(NSString *)mineId;
- (NSArray *)loadAllmessageDraft;
- (BOOL)delAllMessageDraft;
- (BOOL)updateMessageDraftWithMessageDraft:(CMessageDraft *)messageDraft;
- (BOOL)updateMessageDraftWithIsShowInMessageList:(BOOL)IsShowInMessageList;
- (BOOL)updateMessageWithIsShowInMessageList:(BOOL)IsShowInMessageList FriendId:(NSString *)FriendId MineId:(NSString *)MineId;
- (BOOL)delMessageDraftWithGroupId:(NSString *)GroupId;
- (NSArray *)loadAllmessageDraftGroupId;

@end
